package com.b2b.service.impl;

import com.b2b.mapper.MessageMapper;
import com.b2b.model.entity.Message;
import com.b2b.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class MessageServiceImpl extends BaseServiceImpl<Message> implements MessageService {
    @Autowired
    MessageMapper messageMapper;
    public List<Message> selectMessageById(Integer messageId) {
        return messageMapper.selectMessageById(messageId);
    }
}
